add helper method in pane object