need to add encrypt/decrypt functionality