gui takes ParameterGroup reference instead of pointer