terminal check