replaced disconnects with loadDB