moved panelmethod