Removed unnecessary logic from scheduler