refactored param build service