support for hash and category

support for hash and category