added KLogger and debug info