Homework 6 part 1