Updated Homework 9