added a controller