add diffusion chart and related functions