hw 5/7

tests passed!