hash with double access