wrote the correct method

i wrote the wrong methods