changed mostSimilar.py