Homework4 part 2