hashing now actually working