removed underscored kk prefix for static functions