Completed hw 5