test.c modified