Assignment 8 part 2