prepare to solve