added knubfuncs2.h