start to incorporate the NaCl routines