Backtracking, adding a controller and routing