finished hw 4