control apparatus