Assignment #5 Solution