How to think like a writer