terminal logic

test