modifies track.f and test.c