Changed order in premade code