test.c corrected