comparing strings should be the same length