add package to hash function object