Knc header fix

Some new functions for knc.