call method from a string