might be cleaner with import ParameterGenerator, double_t ?