Library of KDB