tweak to hash