The effectiveness of a process-based unit in the development of functional writing skills and the treatment of language errors