termination sequence