check for break,continue,return