remove hashcode function from global scope