check data array content earlier