add new getSchedule method