Added Method invocation pattern sample