creating list of sublists based on a time window now working