The Land Before Time XIII: The Wisdom of Friends is a 2007 animated family adventure film directed by James Mitchell and Charles Grosvenor. In the film, Grandma Longneck (Miriam Flynn) has just experienced a frightening event in Great Valley. Her situation has made a great impact on Littlefoot (Cody and Logan Arens) and his friends, Cera (Anndi McAfee), Spike (Rob Paulsen) and Petrie (Jeff Bennett). The friends want to share what they have learned from Grandma's event with other people, so they can learn the lessons that they have. The four little dinosaurs are given that chance when a small herd of Beipiaosauruses, Loofah (Cuba Gooding Jr.), Doofah (Sandra Ott) and Foobie (Pete Sepenuk), wanders into Great Valley. Apparently, they have lost their herd and have no idea which way to go to find them. Littlefoot and his friends want to help them, but they soon realize the pack of lost dinosaurs don't take life very seriously.