Working on backtracking with boolean operators.