new controller partially working