Part 2 of Project 2.