would rather this is written as `function(..., reg.pars, submit.pars <...>)` so class can at least in principle be extended