added hash methods