first crack at similarity measurement.