Created API for MiddlePanelInsert