added encryption method