modified for selecting sentinel quorum