Change in the prerequisite of the similarity function. Modification of function description.