updated hw 9