modified visit-methodinvocation