refactoring KBI