updated homework2