small change in db gen