Backtracking for the win.