finished hw 22b