The code should be called for EACH time window.