for loop method fail
factor problem