Update:finished final edition of cheat code function