once again completely refactored the race management, tests passing but no functional testing done