edited KM_CS.