handle object argument in method call