changed initial state to automatic control