writing to solve problems