[Agalya/Preethi] Introduced 'distinct' function