add a controller