Adding validation to Trivia