removed factorial variable