queue to hashing