added leader flag