add terminated to the list of reasons to stop
add split merge
need to make this a flag