patterns work based on slection
Merge branch 'j-selectionpattern'
fixed conflict
Bridge connected
fixed conflict