working on the window object