for homework2