validates demographic data