Refactored the template pattern for Racers