removed hdf5 writing