Debugged and working menu