refactored to just show duplicate value