made explicit function to determine leader and renamed Leader to Leaders