passes questions as an array