database 2 library