changed ElectionProto to LeaderElection