Controller class work