Reordered the order variables were initialized in to make the compiler happy