I added encryption code