change from cformmodel to CModel