updated. need depth in hdf5