controlling device