added 'remove duplicates' command