Worked on schedule generation