adding to last fix, now supporting etparams attribute