attach to any Pane
refactoring