Working version of timeTable