hash methods