finished hw 9