added applystop