Updated Homework 7