add the distinct method demo