add calculateStringDistance