add pipeline to check duplicate item