initial code for parametrization