hash funcs work