added encryption things