Renamed datum to record, datum was a bit clunky.