exit & schdeduling working