reorganized quorum.go