Added functionality to pass leadership