this is wrong, as you don't check that the method exists