generic_generator passing