Two Phases Of Problem Solving