first phase of window persistance working