SMS dit: The mathematics of diffusion