added support for hash values