Modified the client invoke