Completed assignment 7