Adding functionality for finish_competition