controller

made a controller