working on Data I/O exercises