split array for time and activity