removed function which splits time array