actually writing the correct method