Added db generator