UNSTABLE: trying to set up hashing for the tables but still need to debug.