refactoring KOREtoKIL to better API