New stats.c file