Step 2 solution.