Formative and Summative self-assessment of writing