Why do we need to use the window object here?