split pane and frame into separate patterns