Foundation for KotH system