finished hw 3