Fixed association bug and added each loop to race controller