Changed the variable at the begining of the problem.