method calls an arbitrary method from a string