simply implemented data record reading.