Why was I checking window?