Only need to use window in 1 place.