test.c done nearly