hash method extract