Finished hw 4