set cur_leader, but not working yet