making _database public