Removed un
Removed unused code for schedules