Finished hw 2