Homework 6 part 2