finished hw 8