"i=0;i<questions.length;i++" replaced with "i in questions"