class 1 hw 3 methods