add hdf support and break the documentation