progress on NaCl-DH, ready to write tests