updates to homework 9