added validation to Answer model