when to research and when to write