added usage of a MethodInvocation object