modified test.c in main directory