working on conversion between times and indices in schedules