euclidean almost working