Sailinghomeward,theDoctor'sshiphadtopassthecoastofBarbary. ThiscoastistheseashoreoftheGreatDesert. Itisawild,lonelyplace—allsandandstones. AnditwasherethattheBarbarypirateslived. Thesepirates,abadlotofmen,usedtowaitforsailorstobeshipwreckedontheirshores. Andoften,iftheysawaboatpassing,theywouldcomeoutintheirfastsailing–shipsandchaseit. Whentheycaughtaboatlikethisatsea,theywouldstealeverythingonit;andaftertheyhadtakenthepeopleofftheywouldsinktheshipandsailbacktoBarbarysingingsongsandfeelingproudofthemischieftheyhaddone. Thentheyusedtomakethepeopletheyhadcaughtwritehometotheirfriendsformoney. Andifthefriendssentnomoney,thepiratesoftenthrewthepeopleintothesea. NowonesunshinydaytheDoctorandDab–Dabwerewalkingupanddownontheshipforexercise;anicefreshwindwasblowingtheboatalong,andeverybodywashappy. PresentlyDab–Dabsawthesailofanothershipalongwaybehindthemontheedgeofthesea.Itwasaredsail. "Idon'tlikethelookofthatsail,"saidDab–Dab."Ihaveafeelingitisn'tafriendlyship.Iamafraidthereismoretroublecomingtous." Jip,whowaslyingneartakinganapinthesun,begantogrowlandtalkinhissleep. "Ismellroastbeefcooking,"hemumbled—"underdoneroastbeef—withbrowngravyoverit." "Goodgracious!"criedtheDoctor."What'sthematterwiththedog?IsheSMELLINGinhissleep—aswellastalking?" "Isupposeheis,"saidDab–Dab."Alldogscansmellintheirsleep." "Butwhatishesmelling?"askedtheDoctor. "Thereisnoroastbeefcookingonourship.""No,"saidDab–Dab."Theroastbeefmustbeonthatothershipoverthere." "Butthat'stenmilesaway,"saidtheDoctor."Hecouldn'tsmellthatfarsurely!" "Oh,yes,hecould,"saidDab–Dab."Youaskhim." ThenJip,stillfastasleep,begantogrowlagainandhislipcurledupangrily,showinghisclean,whiteteeth. "Ismellbadmen,"hegrowled—"theworstmenIeversmelt.Ismelltrouble. Ismellafight—sixbadscoundrelsfightingagainstonebraveman.Iwanttohelphim.Woof—oo—WOOF!" Thenhebarked,loud,andwokehimselfupwithasurprisedlookonhisface. "See!"criedDab–Dab."Thatboatisnearernow.Youcancountitsthreebigsails—allred.Whoeveritis,theyarecomingafterus....Iwonderwhotheyare." "Theyarebadsailors,"saidJip;"andtheirshipisveryswift.TheyaresurelythepiratesofBarbary." "Well,wemustputupmoresailsonourboat,"saidtheDoctor,"sowecangofasterandgetawayfromthem.Rundownstairs,Jip,andfetchmeallthesailsyousee." Thedoghurrieddownstairsanddraggedupeverysailhecouldfind. Butevenwhenallthesewereputuponthemaststocatchthewind,theboatdidnotgonearlyasfastasthepirates'—whichkeptcomingonbehind,closerandcloser. "ThisisapoorshipthePrincegaveus,"saidGub–Gub,thepig—"theslowesthecouldfind,Ishouldthink. Mightaswelltrytowinaraceinasoup–tureenashopetogetawayfromtheminthisoldbarge.Lookhowneartheyarenow! —Youcanseethemustachesonthefacesofthemen—sixofthem.Whatarewegoingtodo?" ThentheDoctoraskedDab–Dabtoflyupandtelltheswallowsthatpirateswerecomingaftertheminaswiftship,andwhatshouldhedoaboutit. Whentheswallowsheardthis,theyallcamedownontotheDoctor'sship;andtheytoldhimtounravelsomepiecesoflongropeandmakethemintoalotofthinstringsasquicklyashecould. Thentheendsofthesestringsweretiedontothefrontoftheship;andtheswallowstookholdofthestringswiththeirfeetandflewoff,pullingtheboatalong. Andalthoughswallowsarenotverystrongwhenonlyoneortwoarebythemselves,itisdifferentwhenthereareagreatlotofthemtogether. Andthere,tiedtotheDoctor'sship,wereathousandstrings;andtwothousandswallowswerepullingoneachstring—allterriblyswiftfliers. AndinamomenttheDoctorfoundhimselftravelingsofasthehadtoholdhishatonwithbothhands;forhefeltasthoughtheshipitselfwereflyingthroughwavesthatfrothedandboiledwithspeed. Andalltheanimalsontheshipbegantolaughanddanceaboutintherushingair,forwhentheylookedbackatthepirates'ship,theycouldseethatitwasgrowingsmallernow,insteadofbigger. Theredsailswerebeingleftfar,farbehind.