removed kk_ prefix from static functions