trans generating a controller