impl issue#37 - global and pattern swing