element function (check params value) modified