some changes to pane