Rearanged order of functions in file.