Chnage the logic of the method.