added encryption
test of encryption -- works