TODO: about partial hash