Fixing up the user input for filling out factors