add some comment and remove kdb