1st working version without end of race.