Adding and deleting panes