Completed Assignment 3 part 3