Started implementing leader election