homework2 - oop 046271