Assignment 10 now working properly.