added a new controller class