updated found_swap flag