begin db class changes