this is hw4 part 1