getPanelType added