Del menu and refactor procedure auto exam