added new controller and working on debug