1st attempt homework2