add terminal section