modified KN done