add hash support to having