made debugmenu public