Updating Haydens timetable with working code