adding hash methods