elgamal almost done