add DISTINCT clause