pass arguments to generation.