time-windows first attempt