working on csm model