added test.c ride.c