worked through bond data header read/write