notes on array added
added logic to loop through questions