DB Helper revised