Ks utility class