store answers in array properly