Writing processes and cognitive demands