modifications of output 4 + automatic reset when parameters change