finished tuple based sampling