Assignment 7 for 5103