took out factor error check