directive for main pane added