Updated examples to use Distinct