changing the way the terminate options is used