answer validation