better handling of Method.execute