kdb: done