Assignment 5 part 3