driver for pregeneration