add code to keep track of collective stats for the competition