CHANGED:linked the Panel_editor sort of functions