added code for a writing project