new functions in panel.jsp