add initial code with txcrypt