started hash implementation