Swapped order of functions.