refacto -> use ParameterBag as src lib