partway through the dispersion calculation