adding main ks