accept configuration struct