added reasm, termination flags