Assignment 9 Solution