genrated a controller