Added new feature: removal of duplicate results