refactored the number of factors method and the name of variables for readability