Updated hw 9