refactor of race _carX logic