check end turn