working on HDF5 Code