libraries for database operations