max min and avg controllers