changed labels for euclidean similarity