added dehash option