here is phase1test.c.