added termination process