Assignment #7 Solution