adjusts for windows