homework2 and homework3