changed time matrix to store uniq id so the schedule can be populated
more easily