Update outfuncs.c