rearranged about window