leader election complete