Automatic control class