added symmetric encryption