Removed old function for weeklySchedule