source code of hottdk.