add collection name hash function