kul refactor