it's not necessary to pass the second param to database.getDatabase here (configuration.getConfig ...)