move windows
refactor connection