renamed to window_selection.py