change params on the fly