forgot to change the variable back, also forgot to mention changed from echo to printf