shifted generating answerlist logic to client side