second update to homework1