implementation of Parameter Passing control