#commit : finished scheduling  part implementation