edited analyze.c