initialize questions and answers as arrays