A framework for authentic writing