Dreams can help us solve problems