Implemented overall similarity