wip on output to hdf5