These are just comparing the first character and not the rest of the string/ the string length, so if I sent out:

ab
bc
cd
de
fg

It wouldn't catch this issue.