Checking for window instead...?