made a controller