renamed test.c to main.c