hashing and selecting hashes completed