homework2 part 1 success