analyze.c added