changing call to processFuncs()