A framework for understanding second language writing strategies