Add timeWindow functionality foundations