missing $ on method