added ksm