change to execute this for outparams