each side with public keys corrected