running average - where control based on average too