db in lib