updated hw 7