working on making time windows inividual threads