refactored TriggerConfigBuilder