DKI source code