working on addDelayWindow