Refactored parameter build method