start to fix take_turn loop