Program for Scheduling