Put new logic in menuFunctions