first crack at implementing Similarity