Completed hw 17