The usage and the definition are inconsistent

The definition of the sub requires an object to be passed, but when you call the sub, you do not give it the required parameter