added Alan's CSM