add configure() and change default connection to null