initial decoding of data records