add terminal table
work on queue test