bringing similarity measure back in.