my wrapper db class