fixing the recursion call, menu and names