Something you might do while writing is cogitate.