Create C translated car logic