fixed methods on line 10 of assignment #10