Removed duplicates from output