added races to the calculations