Implement first 2 steps.