Implemented Part 1 of Tutorial