hdf works