Thinking to write -Writing to think