change to race, countEndScore function and correct result-points