Break out init code