trivia functionality added