new changes DbFactory