content distance calc, renamed methods