added similarityScore()