add construct_panel method