changes in dbWrapper