modified code to get the contest questions, players and teams