Changed the varabile that carries out through the code