backtracking logic 6617923