Inelastic scattering of heavy ions