Skeleton code for KTN