real time sliding windows