sup_panel should inherit from panel