finished hw 30 part 2