record.c and my test file