change invokerN to take a method name as string