added hash func
test issue 62