line highlight pattern added, stun check added