Update auxiliaryFunctions.c