finished hw 116c