stop short for isTerminal