added getAnswerPoints function