Part 5 for Assignment 5