switched to hashing