DbFactory part 2