First I have to check if the data is less than 3 characters and then merge, otherwise there could be duplicates cause of incorrect data input.