updated qna processing