Homework 3 part 1