More functions to hek_panel.