window backwards compatability