working on problem 2; trying to understand similiarity