Assignment 6 part 3