completed assignment 2 - with glee