#131 refactored creation of method parameters