Added a duplicate remove feature