you need cast the 2nd parameter into an object.