counter and answer validation working