moved Hash to utils