return hash type