refactoring and getting back ParameterList