add basic exporting hash method