Progress in the schedule creation. Not working yet.