homework 4 part 1 completed