fixed to use the method provided

fixed the wrong thing!