def: add KSM