implemented getters and setters for hash functions