Updated Homework 5