Class DistinctFunction