Solve problems first