boilerplate for the controlling class