Corrected the totally wrong and big mistake of the variables