Final updated file with no unnecesary print commands