Similarity Procedure working