minor changes to homework1