Completes exercise part 1.