The evolution of head structures in lower Diptera

The head of adult dipterans is mainly characterized by modifications and more or less far-reaching reductions of the mouthparts (e.g., mandibles and maxillae), linked with the specialization on liquid food and the reduced necessity to process substrates mechanically. In contrast, the compound eyes and the antennae, sense organs used for orientation and for finding a suitable mating partner and oviposition site, are well developed. Some evolutionary novelties are specific adaptations to feeding on liquefied substrates, such as labellae with furrows or pseudotracheae on their surface, and the strongly developed pre– and postcerebral pumping apparatuses. In some dipteran groups specialized on blood, the mandibles are still present as piercing stylets. They are completely reduced in the vast majority of families. Within the group far-reaching modifications of the antennae take place, with a strongly reduced number of segments and a specific configuration in Brachycera. The feeding habits and mouthparts of dipteran larvae are much more diverse than in the adults. The larval head is prognathous and fully exposed in the dipteran groundplan and most groups of lower Diptera. In Tipuloidea and Brachycera it is partly or largely retracted, and the sclerotized elements of the external head capsule are partly or fully reduced. The larval head of Cyclorrhapha is largely reduced. A complex and unique feature of this group is the cephaloskeleton. The movability of the larvae is limited due to the lack of thoracic legs. This can be partly compensated by the mouthparts, which are involved in locomotion in different groups. The mouth hooks associated with the cyclorrhaphan cephaloskeleton provide anchorage in the substrate.


INTRODUCTION
With approximately 170,000 described species, Diptera (true flies) are one of the extremely species-rich groups of Holometabola [1].Fossil dipterans are known since the Triassic [2].Recent species occur worldwide, on all continents including Antarctica and in all zoogeographic regions [3].The number of individuals is often extremely high.Many species (e.g., Anopheles spp.and Simulium spp., tsetse) are important as vectors of diseases (e.g., malaria, river blindness, and sleeping sickness) or acricultural pests (e.g., Hessian fly), but dipteran maggots can play a positive role by processing excrements and cadavers [e.g.4], and in forensic entomology and microsurgery.Diptera are very versatile in their ecology [5].The adults are relatively uniform in their morphology, whereas the immature stages are highly variable in their structural features, life habits, and habitats.The monophyly of Diptera has never been seriously challenged [see 6] but due to a surprising scarcity of morphological data a well-founded groundplan of the order is not established yet.This impedes interordinal comparisons and the understanding of the early evolution within the group.Traditionally, Diptera is subdivided into "Nematocera" and Brachycera [7].The former is a paraphyletic assemblage (lower Diptera) containing all non-brachyceran families, usually characterized by a slender habitus as adults and a welldeveloped larval head [8].The lower Diptera, which are the main focus of this study, comprise 37 extant families which were recently assigned to eight subgroups: Deuterophlebiomorpha, Nymphomyiomorpha, Tipulomorpha, Ptychopteromorpha, Psychodomorpha, Culicomorpha, Perissommatomorpha, and Bibionomorpha [1].The composition and phylogenetic relationships of these groups are still discussed controversially.In older contributions Tipulomorpha were placed as the sistergroup of the remaining Diptera [8][9][10][11][12][13], supported by characters of the wing venation of fossil and extant species [14] and by features of the pretarsus [12] and wing stalk [15].This concept is not supported in most recent contributions [16][17][18][19][20][21].In some studies, Tipulomorpha form the sister group of Brachycera [16][17][18][19]22], whereas they were placed as sister to the remaining Diptera excluding Deuterophlebiidae and Nymphomyiidae in a comprehensive study of Wiegmann et al. [23].Oosterbroek & Courtney [16], Yeates & Wiegmann [17,18] and Yeates et al. [19] suggested a clade Ptychopteromorpha + Culicomorpha as the most basal branch of Diptera.A basal placement of Deuterophlebiidae [20,23] or Nymphomyiidae ([21, 24] [Deuterophlebiidae is not included in the taxon sampling in the study of Lambkin et al.]) is mainly suggested by analyses of molecular data.Alternatively, Nymphomyiidae were grouped with Axymyiidae, both forming the sistergroup of Culicomorpha [20].Different groups were considered as sistergroup of the monophyletic Brachycera, a subgroup of Psychodomorpha [9,10], implying the paraphyly of this lineage, Anisopodidae [14,16,25], or a clade Anisopodidae + Culicomorpha + Bibionomorpha based on characters of the wing stalk [15].Hennig [8] and Häckman & Vaisänen [24] suggested a close relationship between Bibionomorpha and Brachycera, and this is also supported by analyses of molecular data [20,23,26].The reconstruction of the phylogeny and character evolution in Diptera was strongly impeded by the lack of well-documented morphological data.A series of studies on larval and adults head structures were published in the framework of a recent project on dipteran morphology and evolution [e.g., [27][28][29][30][31][32][33], mainly based on innovative techniques optimized by the Entomology Group in the Phyletisches Museum (Institut für Spezielle Zoologie und Evolutionsbiologie, FSU Jena) in the last years [e.g., 34].An extensive data set was compiled for adults and immature stages.The main aim of the present study is a formal evaluation of the character evolution and the reconstruction of the ordinal groundplan.The recent comprehensive phylogenetic study of Wiegmann et al. [23] is an ideal basis, as the taxon sampling of the present study was largely coordinated with the FLYTREE project [see 23].Only few taxa were not available for anatomical investigations.Morphological characters were mapped on the phylogenetic tree based on the most comprehensive data set analyzed so far [23].Based on this evaluation, an evolutionary scenario was developed, with emphasis on the adult head and feeding apparatus and on larval cepahlic features and life habits.

MATERIALS AND METHODS Taxa examined
Adults of 43 species and larvae of 31 were examined.The taxon sampling includes at least one representative of each of the lower dipteran families (with few exceptions) and was coordinated with the FLYTREE project (see taxon sampling in [23]).External and internal head structures of adults of 28 species and larvae of 10 species were examined in detail.The list of species used in the studies is given in Tables 1 and 2.

Methods
Scanning electron microscopy (SEM).Scanning electron microscopy was used to visualize external features.Specimens were dehydrated in an ascending ethanol series (70%-100% ethanol and 99.9% acetone) and dried at the critical point (EmiTech K850 Critical point Dryer, Quorum Technologies Ltd., Ashford, Kent, UK).They were glued on a fine pin, sputter coated with gold (EmiTech K500 sputter coater, Quorum Technologies Ltd., Ashford, Kent, UK), and mounted on a rotatable specimen holder [35].Images were taken with a Philips XL 30 ESEM (Philips, Amsterdam, The Netherlands) using Scandium software (Olympus, Münster, Germany).The figure plates were processed with Adobe Photoshop ® (Adobe, San José, USA) and Adobe Illustrator ® (Adobe, San José, USA).Confocal Laser Scanning Microscopy (CLSM).For the investigation of the skeletal elements and for an overview of the arrangement of muscles, images were taken with a CLSM.The specimens were mounted between two cover glasses with a drop of glycerin.Images were taken with an argon laser (488 nm) on a LSM 510 (Carl Zeiss AG, Göttingen, Germany).As insect cuticle, musculature, and nerves are autofluorescent, a treatment with antibodies is not necessary [36].Histology.Histological sections were used to investigate the internal structures.Specimens were fixed in formaldehydeethanol-acetic acid (FAE, 3:6:1) and dehydrated with ethanol (80%-100% ethanol) and acetone (99.9%).They were embedded in Aradite (CY 212, Agar Scientific, Stansted/Essex, UK), sectioned (1μm/ 1.5 μm) with a diamond-knife (Elementsix) on a microtome (HM 360, Microm, Walldorf, Germany), and stained with Toluidine blue and Pyronin G (Waldeck GmbH and Co. KG/Division Chroma, Münster, Germany).The sections were digitalized with a Zeiss Axioscope (Carl Zeiss AG, Jena, Germany) with a PixeLINK PL-A622C and PixeLINK PL-B686 (PixeLINK, Ottawa, Canada) digital camera, using the software PixeLINK Capture OEM 7.12 (PixeLINK, Ottawa, Canada).The alignment of the image stack was calculated by AutoAligner ® 6 (Bitplane AG, Zürich, Suisse) and Amira ® 5.3 (Visage Imaging GmbH, Berlin, Germany) software.Micro Computer Tomography (MicroCT).Micro Computer Tomography (MicroCT) was used to document external and internal structures.Specimens were dehydrated with an ascending ethanol series (70-100% ethanol) and acetone (99.9%), dried at the critical point (EmiTech K850 Critical point Dryer, Quorum Technologies Ltd., Ashford, Kent, UK) and mounted on a metal rod with super glue or specific dough.The scans were performed at Beamline BW2 of the DESY (Deutsches Elektronen-Synchrotron, Hamburg; see [37]) using a stable low photon energy beam (8kV) and absorptions contrast (see [38,39]).Further scans were performed on a Skyscan 1172 microCT scanner (Bruker, Billerica, Massachusetts, USA).Computer-based three-dimensional (3D) reconstruction.The arrangement of external and internal structures was visualized using computer-based 3D reconstructions, based on digitalized and aligned section series.Image stacks of head structures were reconstructed using Imaris ® 6.2.0 (Bitplane AG, Zürich, Suisse) and Amira ® 5.3 (Visage Imaging GmbH, Berlin, Germany) software.The surfaces were polished, smoothed, and rendered with Maya ® 2012 (Autodesk, San Rafael, USA).
analyses of the combined data set (adult and larval head structures) chimera (different genera of the same monophyletic family) were used in some cases (Ptychopteridae, Simuliidae, Ceratopogonidae, Blephariceridae, Anisopodidae, Psychodidae, and Pediciidae).For tracing the character evolution, cephalic features of adults and of larvae were mapped onto the cladogram of Wiegmann et al. [23], using the function implemented in Mesquite (trace characters over trees, reconstruction method parsimony ancestral states; [40]).

Phylogenetic results
The list of phylogenetic relevant characters is given in Appendix 1.For the character state matrices see Appendix 2 (adult head structures) and Appendix 3 (larval head structures).The Ratchet Island Hopper analyses resulted in three trees.The strict consensus tree is given in Figure 1A.Diptera and Brachycera are monophyletic.The resolution in the strict consensus tree is low concerning the phylogenetic relationships of the lower dipteran families.None of the currently recognized eight subgroups [1] was confirmed as monophyletic in the analysis.Nosopsyllus fasciatus (Bosc, 1800) Data taken from Sharif [139] Abbreviation: EtOHethanol, FAEformaldehyde-ethanol-acetic acid (3:6:1).
SOR-LIFE K. Schneeberg and R.G. Beutel: The evolution of head structures in lower Diptera    Pediciidae (Pedicia).The mandible of the larvae is sickleshaped and elongated.The maxillary palpomere is also distinctly elongated.Tipuloidea (exclusive Pediciidae).Tipuloidea, excluding Pediciidae, are characterized by a larval head that is strongly retracted into the prothorax and fixed in this position.A premaxillary suture and side plates are present.Tipulidae (Tipula) + Cylindrotomidae (Cylindrotoma).The rostrum of adults of Tipula and Cylindrotoma is entirely sclerotized, and the larval mandible bears a movable lacinia mobilis.
Tipulidae (Tipula).The tentorium and the maxillary endites are completely reduced.The sensilla on the sensorial field of maxillary palpomere 3 are inserted in individual grooves (e.g. Figure 4A, Sylvicola).A dorsal concavity of the prementum is absent.The labellae bear pseudotracheae on the inner surface (Figure 5B).In the larval head, the labrum is subdivided, and the secondary mandibular joint is shifted posterior to the antennal foramen.
Ptychopteromorpha (Ptychoptera).The sensilla on the sensorial field of maxillary palpomere 3 are exposed on the surface in Ptychoptera (e.g., Figure 4A, Sylvicola).Pseudotracheae are present on the inner surface of the labellae.The larval mandible is subdivided, and the hypostomium is present as a separate structure.Blephariceridae (Edwardsina).In Edwardsina, the stipites are completely fused.The furrows on the inner surface of the labellae are completely missing.Growth lines are present on the externolateral plates in blepharicerid larvae.Psychodidae (Psychoda).M. tentorioscapalis is bipartite in adults of Psychoda.One subcomponent originates on the tentorium and one on the head capsule.The maxillary palp is four-segmented.M. palpopalpalis primus is missing.
Tanyderidae (Mischoderus and Protanyderus).M. tentoriostipitalis originates on the head capsule.The larval head is characterized by a premaxillary suture, and side plates are present.The larval labrum bears a brush with specifically arranged setae.The hypostomium is present as a separate structure.Chaoboridae (Chaoborus) + Corethrellidae (Corethrella).In adults of Chaoborus and Corethrella, the furrows on the inner surface of the labellae are completely missing.The larval antennae insert on the anterior margin of the head and are shifted close to the midline (Figure 6).Chaoboridae (Chaoborus).Larvae of Chaoborus have simplified compound eyes and their frons is U-shaped.A movable lacinia mobilis is present on the mandible.A small intrinsic extensor muscle moving the lacinia mobilis is present.Corethrellidae (Corethrella).In adults, the sensilla on the sensorial field of the maxillary palpomere 3 are inserted in individual grooves.The larval antenna bears two apical horns in Corethrella (Figure 6B, a) Culicidae (Aedes, Anopheles, Culex, and Culiseta).Clypeus and frons are connected by a joint in all members of Culicidae examined (Figure 7).The clypeus is subdivided, and a fulcrum is developed.The labroepipharyngeal food channel is closed by the sides of the epipharynx.The stipites are completely internalized (cryptostipites after Peterson [41]).M. labroepipharyngalis is absent.
The larval mandible bears a multitoothed comb.Anisopodidae (Sylvicola).In adults, the sensilla on the sensorial field of maxillary palpomere 3 are inserted in individual grooves (Figure 4A).In larvae strongly sclerotized labral teeth are present.The mandible is subdivided, and an anteriorly directed cone is inserted on the mandibular edge.

Bibionomorpha (exclusive Anisopodidae and Scatopsidae).
Adults lack the dorsal concavity on the surface of the anterior labium.Anterior tentorial arms are completely missing in larvae.
Axymyiidae (Axymyia).The compound eyes of adults are subdivided into a dorsal and a ventral part.The salivary pump  musculature (M.hypopharyngosalivarialis) is completely absent.The larval head is moderately retracted into the prothorax but not fixed in this position.The larval clypeus is subdivided, and a secondary frontoclypeal ridge is present (probably not homologous with that of other insects).Bibionomorpha (exclusive Anisopodidae, Scatopsidae and Axymyiidae).The larval maxillary endites are completely reduced.Bibionidae (Bibio).The adult head capsule is covered with long setae, and the dense vestiture of microtrichia is absent (Figure 8D).The antennae are inserted laterally.The larval hypostomium is present as a separate structure and M. frontoepipharyngalis is reduced.Mycetophilidae (Exechia).In adults, the anterior tentorial arm is partly hollow and the maxillary palp is four-segmented.Brachycera (Tabanus, Pachygaster, Silpnogaster, Bombylius, Hemipenthes, Eristalis, and Drosophila).The number of antennomeres and maxillary segments is reduced in the examined brachyceran species.Pseudotracheae are present on the inner surface of the labellae.The larvae are characterized by a cibariopharyngeal sclerotization, and extrinsic antennal muscles are missing.

DISCUSSION Phylogeny
The analysis of adult and larval head structures revealed a considerable number of potential dipteran autapomorphies.The relationships of the basal lineages, which were the main target of the cladistic character evaluation, were not well resolved, especially using only characters of the adult head (Figure 1C).The consistency index (CI) of trees based on the separate adult character set is low (CI 0.25, retention index [RI] 0.48) and only slightly higher in the analyses of the combined data set (CI 0.33, RI 0.29 Figure 1A) and analyses of larval head structures (CI 0.26, RI 0.21 (Figure 1B).Commonly accepted clades were not recovered in the analyses of adult head structures.Diptera was rendered paraphyletic in this analysis, with the mecopteran family Nannochoristidae nested within the order (Figure 1C).In the analyses of larval head structures Diptera is monophyletic and also Tipuloidea and Brachycera.The same clades were confirmed in the combined analyses.Characters of the adult head are not only relatively conservative within the order but also greatly affected by homoplasy, especially parallel losses (e.g., antennal segments, mandibles, and muscles).This may be due to the relatively similar life style of adult dipterans belonging to different lineages.Apparently, adult head structures alone are unsuitable for reconstructing the intraordinal relationships, even though dramatic character transformation must have taken place in the dipteran stem-group (e.g., modifications of the mouthparts), and some very characteristic features evolved within the group (e.g., labellae, pseudotracheae, and aristate antennae in Brachycera).The larvae differ much more in their habitats, general life style, and feedings habits, and not surprisingly also in their head structures.The absence of the thoracic legs is arguably a key feature of dipteran larvae and no variation occurs within the group in this feature.In contrast to that, cephalic structures can vary dramatically, reaching from well-developed heads with functioning complex mouthparts, antennae composed of several segments, distinct light sense organs, endoskeletal structures, and a complex muscle system, to strongly retracted simplified heads (e.g., Tipulomorpha; [27]) or largely reduced and highly specialized head structures as they are characteristic for most groups of Brachycera (Cyclorrhapha; e.g., [33]).Despite of a strong variation within the group, characters of the larval head, like those of the adults, are not sufficient for resolving basal dipteran relationships.Analyses of larval feature are also strongly affected by homoplasy, especially parallel reductions, which affected sense organs, mouthparts, the external head structures, the endoskeleton, and also the muscle system.Resolving intraordinal relationships in Diptera using morphology is likely impeded by episodic bursts of rapid radiation.This took place in the early Mesozoic (stem-group), Triassic (lower dipteran groups) (220 Ma), in the early Jurassic (lower Brachycera) (180 Ma), and in the early Paleocene (lower Brachycera) (65 Ma) [23,42])

Phylogenetic implications of the examined characters
Diptera.Diptera is monophyletic in the analyses of the combined and larval characters (Figure 1A, B) but not in the analyses of adult head features (Figure 1C).Potential autapomorphies are the dense vestiture of microtrichia on the head (Figure 8A-C), the reduction of the postmentum, the two-segmented labial palps transformed into labellae (equipped with simple furrows), and the presence of a clypeolabral muscle.A groundplan apomorphy of the larval head is a labrum equipped with a dense field of hairs (Figure 6B).The presence of a larval hypostoma (= hypostomal bridge) with triangular teeth is most likely a groundplan apomorphy of Diptera, a condition found in most groups of lower Diptera.Deuterophlebiidae + Nymphomyiidae.Deuterophlebiidae and Nymphomyiidae are sistergroups according to Cutten & Kevan [43], and this is also suggested by the analyses of the data presented here (adult head and complete data set; Figure 1A, C).Cutten & Kevan [43] suggested the presence of lateral eyespots of older larvae, the anteriorly projecting larval rostrum, the presence of abdominal prolegs, and a pair of appendages on the larval abdomen as potential synapomorphies.The studies of Schneeberg et al. [28] and Schneeberg et al. [29] also suggested close phylogenetic affinities between the two groups.Both families share a large number of derived features of the adult head.In both groups the labrum, maxillae, and labium are completely missing including their extrinsic and intrinsic muscles.M. tentoriobuccalis anterior (M.48) is completely reduced and the terminal antennal segment is distinctly elongated [28].Larval features supporting this hypothesis are the presence of rows of spatulate macrosetae on the ventral surface of the labrum-epipharynx (only in later-instar larvae in Deuterophlebiidae) [29,44].The labrum is completely fused with the head capsule in the larvae, accompanied by the loss of M. labroepipharyngalis (M.7) and M. frontolabralis (M.8), a condition also occurring in some groups of Brachycera, and in Cecidomyiidae and Simuliidae [45][46][47][48].Another potential synapomorphy is the apical multitoothed mandibular comb.The comb is also present in larvae of Thaumaleidae and some species of Blephariceridae [16], which is likely the result of parallel evolution.Other similarities concerning the morphology and life history were pointed out by Courtney [44].The females shed their wings after or during oviposition, the femora and tibiae are subdivided by a membranous zone, and all abdominal spiracles and the spermatheca are reduced.Courtney [44] interpreted all shared similarities as convergencies, related to the short live span of adults.This interpretation is supported by the comprehensive molecular study of Wiegmann et al. [23], where a clade Nymphomyiidae + Deuterophlebiidae was not confirmed (see below).Deuterophlebiidae and Nymphomyiidae are both highly specialized in their morphology and life style and doubtlessly monophyletic [28,44].Autapomorphic features of Deuterophlebiidae are prolegs with curved crochets with five teeth, five anal papillae, Malpighian tubules attached to anal papillae, a prehardened pupal cuticle, a male pretarsus densely set with capitate microtrichia, and reduced tarsal claws [48,49].Apomorphies of the head are the widely separated antennal insertions, an extremeley elongated apical flagellomere of males, M. tentorioscapalis anterior (M. 1) with multiple areas of origin, and the absence of M. hypopharyngosalivarialis (M.37) [28].Possible larval apomorphies are the growth lines on the externolateral plates (see also [49]), the fusion of clypeus and frons, the bifurcate distal antennal segment (Figure 3A), and the largely membranous cardo.Autapomorphies of Nymphomyiidae are the dimorphic larval crochets, Malpighian tubules originating on a common stalk on the ventral gut surface, and the prognathous head of the pupa.The narrow wings are strongly modified and shed after flight or during oviposition.They are characterized by a marginal fringe of elongate macrotrichia, a poorly developed anal lobe, reduced posterior veins, and anterior veins concentrated along the costal margin.Other potential autapomorphies suggested by Courtney [49] are the neotenic adults, an anterolateral angle of abdominal tergite VIII equipped with prominent tubercles, subdivided femora and tibiae, missing abdominal spiracles, and the reduced spermatheca.Characters of the adult head are the ventrally contiguous compound eyes, the loss of the unpaired ocellus, the shift of the paired ocelli posterior to the compound eyes, the completely sclerotized rostrum, the club-shaped antenna, and the strongly enlarged first antennal flagellomere [50].Tipuloidea.Tipuloidea (= Tipulomorpha, excl.Trichoceridae) was consistently confirmed as monophyletic in the previous studies, but a close relationship with Trichoceridae was discussed controversially.Wood & Borkent [9] suggested an inclusion of Trichoceridae in Psychodomorpha mainly based on larval characters.Tipulomorpha (including Trichoceridae) was also rejected as a clade in some morphological studies [e.g., 21,51,52].In contrast, it was supported in a considerable number of older and more recent studies, based on morphological characters of larvae and adults (including or excluding extinct taxa) [8,14,16,24,[53][54][55][56] or molecular data [20,23].This concept was also supported in a recent study focused on dipteran attachment structures [57].The analyses suggest that an arolium was secondarily acquired in Tipulomorpha inclusive Trichoceridae.It is missing in all other groups of Diptera.Tipuloidea is supported in the complete analyses and in the analyses of larval head structures (Figure 1A, B).Trichoceridae is not placed as the sister group of this clade.
An apomorphic character of Tipuloidea is the partial fusion of the stipites in adults.This groundplan feature is found in Pedicia and in Limonia, whereas the stipites are completely fused in Tipulidae [58].A partial fusion also occurs in Sciaridae and Scatopsidae, apparently the result of parallel evolution.Other shared derived characters of Tipuloidea are the absence of M. craniolacinialis (M.19) and the presence of only one muscle of the precerebral pharyngeal pump, but both characters also occur in several other dipteran groups [28,58,59,60].The anterior tentorial arm is a thick hollow tube in the dipteran groundplan, as it is the case in most species examined.The anterior arm is massive in most groups of Tipuloidea (entire anterior arm in Pedicia and in Cylindrotoma, anterior part in Limonia; see [58]).Similar conditions have evolved independently in Syrphidae and in some members of Bibionomorpha.The head capsule of tipuloid larvae is separated from the dorsomedian fragment by paired dorsolateral incisions [27,46,61,62].This is another potential autapomorphy of the group.A similar condition is present in Liponeura but is absent in other members of Blephariceridae [63].Another apomorphic character is the presence of growth lines (zonal structures as intermold cuticle depositions) on the extensive externolateral plates [27,62,64].A similar condition has probably evolved independently in larvae of Deuterophlebiidae, Blephariceridae, and Tanyderidae [16,32,48].The hypostoma of tipuloid larvae is partly (Pediciidae; [46]) or completely divided (Limoniidae, Tipulidae; [27,65]).It is undivided in the dipteran groundplan, as it is the case in almost all examined dipteran larvae (with the exception of Dixidae; [66]).The partial division is likely a transitional state between the undivided hypostoma in the groundplan of the order and the complete division in Tipulidae and in Limoniidae.Brachycera.Brachycera are supported by the combined data set (Figure 1A) and by larval features (Figure 1B), but surprisingly not in analyses of characters of the adult head (Figure 1C).The monophyly of Brachycera has never been questioned.They are supported by a broad spectrum of morphological characters of adults and larvae (e.g., thoracic or genital morphology) [e.g., 2, 8, 14, 16, 21] and also unambiguously by molecular data [20,23,26].The presence of only seven antennomeres is likely a derived groundplan feature of Brachycera.The number of antennomeres is also reduced in Deuterophlebia [28] and in Nymphomyia [50] but in both cases linked with a strong elongation of the distal segment.The reduction of the number of maxillary palpomeres is also an autapomorphy of Brachycera.The palps are two-or one-segmented in the examined species.Hesse [67,68] described three-segmented palps for Bombyliidae, but this is probably due to reversal.A reduction of palpomeres is rare in the lower dipteran groups but occurs in some Culicidae, Cecidomyiidae, and Sciaridae [30,69], apparently as a result of parallel evolution.Another apomorphic condition is the presence of pseudotracheae on the inner surface of the labellae of Brachycera.However, these structural modifications also occur in some groups of lower Diptera (Tipulidae, Ptychopteridae, and some Mycetophilidae; [58,70]; Figure 5B).An apomorphic character of brachyceran larvae is the mandibulo-maxillary complex, which is absent in all members of lower Diptera [e.g., 46,71].The larval mandible is subdivided into a distal and a basal part by a weakly sclerotized zone in all brachyceran larvae.This is a potential autapomorphy, even though a subdivision with a membranous zone is also present in larvae of Anisopodidae and Ptychopteridae, and both parts are separated by a furrow in pychopteran larvae [45,72].Another larval autapomorphy is the presence of a complex structural unit with a trough-like, sclerotized ventral wall formed by the cibarium and pharynx [46].This condition does not occur in lower Diptera [27,29,32,44,46,[72][73][74][75][76].

Character transformations
Wiegmann et al. [23] presented a robust phylogenetic tree based on molecular data from species of 149 families, including 30 kb from 14 nuclear loci and the complete mitochondrial genomes.This tree was used to develop an evolutionary scenario for adult and larval head structures.Adult head.Head capsule.The head capsule is completely covered with microtrichia (apomorphy) in the dipteran groundplan.This condition is found in almost all dipteran taxa examined [e.g., 28,30,31,50,58], with the exception of Bibio (Bibionidae) and Pachygaster (Stratiomyiidae) (Figure 8).The characteristic vestiture is also missing in other groups of Bibionidae [77], apparently due to secondary loss.In both families, the microtrichia are replaced by longer setae (Figure 8D).Adults of species of both groups visit flowers and a possible function of the longer setae on the head and other body parts is to keep the pollen from the cuticular surface [78,79].In Nannochorista, the head capsule is also covered with very short and fine hairs [80], but this condition differs strongly from what is usually found in dipterans.Microtrichia are absent in other groups of Mecoptera [81,82] and also in Siphonaptera [83].A dense vestiture of microtrichia on the head capsule has evolved independently in Strepsiptera [84] and some members of Heteroptera [e.g., 85,86].The microtrichia are the only shared derived cephalic character of Diptera and Strepsiptera identified in the present study.This is apparently a result of convergency.In contrast to studies based on ribosomal genes (e.g., [87]: Halteria hypothesis) Strepsiptera are now unambiguously placed as a sistergroup of Coleoptera and both are nested within a more inclusive group Neuropteroidea [88][89][90][91]105].It is likely that the resulting surface properties improve the flight performance of dipterans as it is the case in Strepsiptera (H.Pohl, pers.comm.).The adult head is orthognathous in the dipteran groundplan and in most taxa examined, whereas it is prognathous in Tipulomorpha [58], Nymphomyiomorpha [50], Ptychopteromorpha, and most members of Culicomorpha (partim, not in Simuliidae and in Ceratopogonidae) [41].The head of Mecoptera (with the exception of Nannochorista) [80,81,82] and Siphonaptera [83] is also orthognathous, indicating that this is a groundplan feature of Antliophora.Prognathism is possibly partly linked with the development of a rostrum, which is present in members of Tipulomorpha and Nymphomyiomorpha and some other groups (not in Ptychopteromorpha).Whether a rostrum is present in the groundplan of Diptera is ambiguous as it is missing in Deuterophlebiidae and many other groups of lower Diptera.If present, it is usually only sclerotized on the dorsal side in the lower dipteran families, arguably a plesiomorphic condition.A completely sclerotized rostrum has evolved in Nymphomyiidae and in the tipulomorph clade Cylindrotomidae + Tipulidae, and in contrast a completely membranous rostrum in Anisopodidae and independently in Brachycera.The membranous condition is a characteristic and probably autapomorphic feature of the latter groups.The membranous rostrum is probably an adaptation to feeding on nectar and other liquid substances [e.g., 92,93].In the groundplan and all examined species of Brachycera, the clypeus and labrum are separated by the rostral membrane (haustellum).It ensures a high degree of movability, which facilitates flower-probing movements of the rostrum and its retraction in a resting position [93].A separation of the sclerites by a membrane also occurs in some groups of lower Diptera, i.e., Tipulomorpha, Tanyderidae, Ptychopteridae, Bibionidae, Mycetophilidae, and Simuliidae [58,94,95], arguably a result of parallel evolution.Some of the species in question also feed on plant sap [e.g., 96], but the available data are insufficient for a reliable interpretation.A frontoclypeal suture is part of the dipteran groundplan.It is usually present in the lower dipteran lineages and in Brachycera [59,60,97,98], but was apparently reduced independently in several groups (e.g., Deuterophlebiidae, Nymphomyiidae, Ptychopteridae, and Blephariceridae; [28,50]).A unique apomorphic condition is found in Culicidae, a joint between the clypeus and frons [8,59,99].This probably facilitates the insertion of the mouthparts prior to the bloodsucking process.The presence of a coronal suture is plesiomorphic for Diptera and Brachycera, but it is absent in most groups (preserved in Culicidae, Chironomidae, Nymphomyiidae, and Drosophilidae; [41,50,59,97,99,100]).Whether the frontal apodeme is part of the dipteran groundplan is questionable, as it is missing in most taxa of lower Diptera (e.g., Deuterophlebiidae, Nymphomyiidae, Axymyiidae, and Brachycera; [28,31,50,59,60,97]).This structure is also present in Nannochorista [80] (see above) but absent in other mecopteran groups [82] and in Siphonaptera [83].Three ocelli are present on the vertex in the groundplan, as it is also the case in most other groups of insects [e.g., [101][102][103][104].They were reduced several times independently (e.g., most Culicomorpha, Tipuloidea, Keroplatidae, Mycetophilidae, and Cecidomyiidae; [30,58,59] without a recognizable phylogenetic pattern.Within Brachycera, they are only preserved in Tabanus [59,97,98].The compound eyes are unusually large and undivided in the groundplan of the order.The subdivision into a dorsal and a ventral part is an autapomorphy of the controversial family Axymyiidae [31], which is placed in Bibionomorpha after Wiegmann et al. [23].An unusual structure which has evolved in several groups is the fulcrum which is composed of lateral plates which join the external clypeal wall.The presence is probably an autapomorphy of Culicidae and of Tanyderidae, respectively, and it is also common in brachyceran groups [59,60,94,97].Peterson [41] postulated the presence of a postgenal bridge in the groundplan of Brachycera, but not as an ancestral feature of the entire order.Its presence in several families of lower Diptera (e.g., Deuterophlebiidae, Nymphomyiidae, Tipulidae, Axymyiidae, Bibionidae, and Sciaridae; [28,30,50,58,70]) rather suggests that it may be a dipteran groundplan feature.Hennig [8] discussed a possible correlation between the presence of a hypostomal bridge and the reduction of the tentorium.Tentorium.A nearly complete tentorium is present in the groundplan but a massive tentorial bridge and fully developed dorsal arms are never present [41].A complete tentorium was described for Simulium by Peterson [41] but was not found in any of the species examined in this study [28,30,31,58].More or less far-reaching reductions occur in several lineages.The complete loss of the tentorium is autapomorphic for Nymphomyiidae and for Tipulidae, respectively.In Nymphomyiidae, this is probably a result of the extreme size reduction.The tentorium is a thick, hollow, and simple tube in most dipteran groups (e.g., Culicomorpha, Psychodomorpha, Ptychopteridae, and Deuterophlebiidae; [28,58,59,95]).Dorsal arms occur as short vestiges in some families but are completely reduced in many groups.Surprisingly distinct dorsal arms are present in Tabanus [98] and Pipunculus (Pipunculidae).As both groups are nested within Brachycera, this is likely a secondary condition and possibly autapomophic in both cases.It is possible that the more or less far-reaching reduction of the tentorium is correlated with the diet of the adults.Many of them feed on liquid substances such as nectar, some prefer pollen grains and dried honeydew, and some are sucking blood or are predators [96,106].In all cases biting, which creates strong mechanical forces, is not involved.For feeding on liquid substrates, a stabilization of the head capsule is not necessary, as it is the case in insects with typical orthopteroid mouthparts (see e.g., [104]) where the head capsule is strengthened by a well-developed and strongly sclerotized tentorium and a more or less continuous system of internal ridges.A distinct tendency to reduce the tentorium is apparent in Diptera, especially in groups feeding on liquid substances or pollen.However, a reliable interpretation of the functional and phylogenetic background would require more specific information on the adult feeding habits in different groups.Labrum.A labroepipharyngeal food channel closed by the hypopharynx is part of the groundplan according to Hennig [8].The food channel is indeed present in most dipteran groups, but it is ventrally open in most cases (e.g., Tipulomorpha, Psychodomorpha, and Bibionomorpha; Figure 9 [58]).Therefore, it appears more likely that a ventrally open channel is ancestral for the order.Its specific condition differs within the group.In Culicidae it is completely enclosed by the epipharyngeal wall [59,99,100,107,108] and used for sucking blood.Correlated with the closure, M. labroepipharyngalis (M.7) is missing in this family [59,99,100,109].Females of Simuliidae are also hematophagous but in contrast to Culicidae pool feeders.They generate wounds with their mandibles and ingest the collected blood [110].Like in Culicidae, M. labroepipharyngalis (M.7) is missing.A clypeolabral muscle is present in most species of Diptera examined (autapomorphy) [e.g., 30, 31, 58-60, 95, 98-100, 109], but is missing in Pachygaster and Drosophila [111], and also in Deuterophlebiidae, and in Nymphomyiidae, which lack a labrum and are characterized by an extremely reduced cephalic musculature [28,50].According to Matsuda [112], the primarily paired muscle is fused and unpaired in the groundplan of the order (M.62 in [112]).However, the muscle is paired in most groups of lower Diptera (e.g., Tipulomorpha, Ptychopteromorpha, Ceratopogonidae, Bibionidae, and Sciaridae; [58,113]), which is most likely the ancestral condition.The muscle is probably homologous with M. frontolabralis (M. 8 [114]) of other insects but originates consistently on the clypeus in Diptera.Hennig [8] discussed the possibility, that the dipteran clypeus may contain parts of the frons, as precerebral pharyngeal dilators originate on this area in Drosophila [97,111].However, such a condition was not observed in other dipterans examined.M. frontoepipharyngalis (M.9), which is present in the dipteran groundplan, is generally absent in Brachycera.Antenna.According to Hennig [8], the ancestral dipteran antenna is composed of a scape, pedicel, and 14 flagellomeres.However, the number of antennomeres varies strongly among the groups of lower Diptera, from 5 in Nymphomyiidae [50] to 113 in some Psychodidae [8], and it is strongly reduced in the groundplan of Brachycera [59,60,97,98].Aside from the number of segments, the antenna is filiform and inserted frontally between the compound eyes in the dipteran groundplan [e.g., 30,31,41,50,58,69] (Figure 8A, B).Closely adjacent antennal insertions on the frontal region are also found in Mecoptera (with the exception of Caurinus; [80][81][82]115]).Widely separated antennal bases with a dorsal insertion have apparently evolved independently in Deuterophlebiidae and Bibionidae [28].Interestingly, the antennae are distinctly different in these two groups, as they are elongated and slender in Deuterophlebiidae and moniliform and robust in Bibionidae (Figure 8D, a).Moniliform antennae have evolved independently in Simuliidae and within Bibionomorpha in Bibionidae, Axymyiidae, and Scatopsidae [31].Whether this is an apomorphy of Bibionomorpha, excluding Anisopodidae with reversal in a subgroup comprising Sciaridae, Cecidomyiidae, Keroplatidae, and Mycetophilidae is presently unclear.It is also possible that a moniliform antenna evolved three times independently in Bibionomorpha.A club-shaped antenna evolved independently in Nymphomyiidae and within Brachycera.This is clearly autapomorphic in the case of Nymphomyiidae, but the interpretation in Brachycera is ambiguous.Club-shaped antennae occur in Drosophilidae, Syrphidae, Tabanidae, and Stratiomyiidae [59,97,98], linked with the presence of an arista in Cyclorrhapha [8].The club-shaped condition is due to the enlargement of the first flagellomere in Nymphomyiidae and in the brachyceran Drosophilidae, Tabanidae, and Bombyliidae (where the antenna is filiform, but also shortened; [60]).A characteristic apomorphic condition occurring in Brachycera is the reduction of antennal segments (see above).The presence of a Johnston's organ in Culicomorpha and Drosophila [111] is arguably due to reversal.It is conceivable that it also occurs in other groups, but the currently available data are too fragmentary for a reliable interpretation.Adults of several groups of lower Diptera are short-lived (e.g., Deuterophlebiidae, Nymphomyiidae, and Cecidomyiidae) and have to find their mating partner in a short time span.Therefore, the antenna is well developed and bears numerous olfactory sensilla (see [30]).Interestingly, the antennae of adult Brachycera are greatly shortened, compared to the presumptive dipteran groundplan, but apparently still equipped with a highly efficient set of sensilla (e.g., Drosophila; [116]).It was shown in recent studies that the olfactory system performs well and that the short antennae play an important role in finding food sources and suitable oviposition sites [e.g., [117][118][119].The shift of the origin of the extrinsic antennal muscles from the tentorium to the head capsule is very likely correlated with the more or less far-reaching reduction of the tentorium, but a phylogenetic pattern is not recognizable.In the groundplan of the order Mm.tentorioscapalis anterior, posterior and medialis (Mm.1/2/4) still originate on the tentorium.All muscles originate on the head capsule in Tipulidae and in Nymphomyiidae, as in both cases the tentorium is lacking [50,58].In groups with a short vestige of the dorsal arm all or at least two antennal muscles have a tentorial origin (e.g., Trichoceridae, Tanyderidae, Chaoboridae, Syrphidae, and Bombyliidae [58][59][60]).In Psychodidae, M. tentorioscapalis anterior (M. 1) is bipartite, and one subcomponent originates on the tentorium, whereas the second originates on the head capsule.The muscle is also subdivided in Deuterophlebiidae [28], but this is obviously a result of parallel evolution.Mandibles.Mandibles are present in the groundplan of Diptera like in Mecoptera and other holometabolan groups [e.g., 8,80,81,115,120].However, they are never robust structures functioning as biting devices, but more or less narrow stylet-like structures if present at all.In most groups, they are completely missing (e.g., Tipulomorpha, Deuterophlebiidae, Nymphomyiidae, Bibionomorpha, and Psychodomorpha [28,30,31,50,58]).The reduction is apparently correlated with the feeding habits.In most blood-sucking dipterans, mandibles are present and usually elongated and transformed into piercing stylets (e.g., Culicidae, Ceratopogonidae, and Tabanidae [59,98,99,100,113]).In Culicidae, they are elongated in females as they only need a blood meal for egg development.They are much shorter in the males which feed on plant sap [108].In Tabanidae, mandibles are only present in the blood-sucking females, whereas they are absent in the flower-visiting males [98].Similarly, in Blephariceridae, they are present in the predaceous females but missing in males [121].Maxilla.The stipites are internalized in Culicidae (cryptostipes of [41]) and also in some groups of Tipuloidea, in Simuliidae, and in Brachycera [e.g., 58-60, 70, 95, 97, 99, 100].An apomorphic feature of Tipuloidea is the partial fusion of the stipites, and the complete fusion is an apomorphy of Tipulidae [58] (see above).The stipites are also completely fused in Blephariceridae and in some brachyceran groups [58,70], apparently a result of parallel evolution.
According to Hennig [8], cardo and stipes are delimited from each other in the groundplan of Diptera and Brachycera.However, a recognizable border is absent in most dipteran species examined [e.g., 28, 30, 31, 41, 58-60, 70, 94, 95, 99, 100] and also missing in Siphonaptera [83], Nannochoristidae [80], and Boreidae [81].It was assumed by earlier authors that the cardines are reduced [e.g., 122].However, the condition of the musculature suggests that the sclerite in question is a product of fusion [e.g., 59,108,123,124].Among the dipterans examined, cardo and stipes are only separated in Trichoceridae, Dixidae, and Tabanidae [58,98].It is not entirely clear whether this separation is a secondary condition or ancestral for Diptera, implying that cardo and stipes fused several times independently within the group.In the groundplan of the order and in most dipteran taxa, only a single maxillary endite lobe is present [e.g., 58-60, 70, 94, 98, 100, 125].This was referred to as galea in older contributions [41,94,126], but its homology with the lacinia has been established in more recent studies [e.g., 59,93,95,108,122,123].Hoyt [70] interpreted the structure as a product of fusion of both elements.However, this interpretation appears questionable as M. craniolacinialis (M.19) is preserved in some dipteran lineages (e.g., Culicidae, Simuliidae, and Bombyliidae; [59,60,95]) as in Mecoptera (Nannochorista, Caurinus, Bittacus, and Merope; [80,82]), whereas a muscle of the galea is consistently absent.The complete reduction of the maxillary endite lobes is an apomorphic feature occurring in Tipulidae, Limoniidae, Cecidomyiidae, some Mycetophilidae, Axymyiidae, and Anthomyiidae (see [30,31,70]).It is apparent that this condition evolved several times independently.The maxillary palp is five-segmented in the dipteran groundplan, and this condition was found in most species examined.Four-segmented palps evolved in Psychodidae, Mycetophilidae, and Siphonaptera [83,127].Palp segments are also reduced in some members of Culicidae [69] and generally in Brachycera (see above).The last palp segment is distinctly elongated in several groups of lower Diptera (and slightly in Syrphidae; [59]) without a recognizable phylogenetic pattern.A sensorial field on the third maxillary palp segment is present in most species of lower Diptera and in Nannochoristidae [80], but the specific condition varies distinctly between the taxa (Figure 4).An apomorphic condition that evolved in Tipulomorpha is the exposed position of the sensilla of the sensorial field, and as a secondarily modified version of Tipulidae, the sensilla are placed in individual, separated grooves [58].A sensorium with a single groove belongs to the groundplan of Diptera and is also present in Nannochoristidae.A derived condition similar to that found in Tipulidae has evolved in Anisopodidae and in Corethrellidae (Figure 4A).The origin of M. tentoriostipitalis (M.18) is shifted to the head capsule in Tanyderidae and in Limoniidae, and apparently also, in Drosophilidae [58,97], even though the homology of the muscle is not entirely clear in this case.M. palpopalpalis externus (M.22) is present in the dipteran groundplan, but absent in the groundplan of Brachycera.The muscle is also missing in Thaumaleidae, Axymyiidae, Scatopsidae, and Aedes, whereas it is present in Culex [99].Labium.The dorsal surface of the anterior labium forms a distinct concavity in the groundplan of Diptera, a condition also found in Nannochoristidae and in Siphonaptera [80].In Culicidae, it forms a groove for the piercing mouthparts in their resting position [59,99,100,107,109], and a similar condition is found in Simuliidae [95,128], Tabanidae [98], and Siphonaptera [83].The concavity is reduced in Bibionomorpha excluding Anisopodidae and Scatopsidae.It is also absent in Tipulidae and Asilidae, but present in the groundplan of Tipulomorpha and Brachycera.The loss apparently occurred three times independently [58].Hennig [8] considered the postmentum (submentum after Gouin [129]; mentum after Peterson [41], Crampton [126]) as part of the dipteran groundplan.However, it is almost generally absent [41, 58-60, 95, 97, 98], with the only exception of Ceratopogonidae [113].It appears likely that the postmentum is fused with other cephalic elements or completely reduced in the dipteran groundplan (potential autapomorphy), implying that the structure occurring in Ceratopogonidae is not homologous with the postmentum of other insects.A correlation between the reduction of the postmentum and the presence of a postgenal bridge [8] is possible but not supported by specific evidence.Two-segmented labial palps modified as thickened labellae are an autapomorphy of Diptera [e.g., 30, 31, 58-60, 69, 95, 98-100, 107, 125, 128].They are present in all dipterans with developed mouthparts.Pseudotracheae are a specialized modification of the labellae.This condition evolved independently in some groups of lower Diptera, such as Ptychopteridae, Tipulidae, and Mycetophilidae (partim), and it is typical for Brachycera.The pseudotracheae of brachycerans are more complex and cover a larger area.In Syrphidae, the labellae consist of two rows of collecting channels on the anterior edge and about 40 on the mesal wall [59].In Tipula, two rows of collecting channels enclose the functional mouth opening [58].The brachyceran pseudotracheae consist of inner strengthening rings and a number of secondary channels [e.g., [130][131][132].The function is the uptake of liquid food by capillary forces and the distribution of saliva [133].Simple furrows on the inner wall of the labellae are obviously present in the groundplan of Diptera.Owen [100] considered them as pseudotracheae, but Schiemenz [59] demonstrated that the ultrastructure is distinctly different, which implies that they are precursors or were formed independently.The furrows are absent in Blephariceridae and in Limoniidae and in subgroups of Culicomorpha and of Bibionomorpha.The absence is possibly linked with the feeding habit in these groups, but the available information is insufficient for a reliable interpretation.Glossa and Paraglossa are absent in the groundplan of Diptera, as in all other holometabolan groups with the exception of Hymenoptera [e.g., 58-60, 80-82, 88, 95, 100, 120, 128].The presence of only one premental retractor muscle is ancestral for Diptera.This condition was found in all examined taxa [e.g., 58-60, 70, 95, 98-100, 109, 113] with the exception of Drosophila [111].As Drosophila is deeply nested within Brachycera, the second bundle is very likely the result of a subdivision of a primarily undivided retractor.An investigation of more brachyceran representatives is necessary for a reliable evaluation of this character.M. palpopalpalis labii primus (M.35) is absent in the groundplan of Brachycera.Pharynx and its musculature.M. clypeopalatalis (M.43) is distinctly enlarged in the groundplan of Diptera and forms a long series of bundles in most taxa [28, 30, 31, 58-60, 98, 100, 109, 111, 113].A postcerebral pharyngeal pump (Mm.51/52) is also ancestral for the group.It is strongly developed in all groups examined, with the noteworthy exception of Cyclorrhapha [28, 30, 31, 50, 58, 59, 95, 98-100, 109, 113].The well-developed sucking pump of dipteran adults is apparently correlated with the uptake of liquid food.It is also well developed in the blood-sucking fleas [83] and also in Nannochoristidae, which also feed on liquid substrates [80].Salivary pump.A salivary pump with one well-developed muscle is present in the groundplan of Diptera, and this condition is preserved in almost all groups examined.The single muscle (M.hypopharyngosalivarialis, M. 37) is reduced in Axymyiidae, Deuterophlebiidae, and Limoniidae [28,58].Deuterophlebiid adults do not consume food, which makes a salivary pumping apparatus superfluous.Larval head: Head capsule.The larval head is prognathous and fully exposed in the groundplan, and this condition is present in most groups of lower Diptera [29, 32, 45-48, 63, 66, 72-75, 129, 134, 135].This applies also to larvae of Siphonaptera and of Nannochoristidae and is therefore likely to be part of the antliophoran groundplan.According to Hennig [8], the prognathous head is a derived groundplan feature of Diptera and correlated with the loss of larval thoracic legs.This interpretation appears implausible as the head is also prognathous in larvae of Nannochorista [136] which possess well-developed legs.A similar combination of prognathism and normally developed legs occurs also in other groups of holometabolan insects such as Coleoptera (Adephaga, Histeroidea, and Staphylinidae partim), Neuropterida, and Trichoptera (Rhyacophilidae [e.g., 88]).Tipuloidea are characterized by a tendency to retract the larval head capsule into the prothorax.The head is strongly retracted in Limoniidae, Cylindrotomidae, and Tipulidae (see [27]).In the presumably basal Pediciidae, the head is only moderately retracted (see [46]) and this probably represents a transition state between the fully exposed head in the dipteran groundplan and the completely retracted one in Tipuloidea excl.Pediciidae.The head is also moderately retracted into the prothorax and not fixed in this position in larvae of Axymyiidae and Stratiomyiidae [46], apparently as a result of parallel evolution.A partly reduced head capsule is usually found in dipteran larvae living in soft substrate, whereas it is well developed in larvae exposed in their environment, such as in Culicomorpha or in Bibionidae.However, the immature stages of Tipuloidea occupy a wide range of different habitats [3].The investigated larvae live mostly in semiaquatic or aquatic environments (Limonia, Tipula, many species of Pediciidae) or alternatively in moss (Cylindrotomidae).In Brachycera, the tendency to retract and to reduce the head capsule is apparent.In Cyclorrhapha, the larval head is always strongly retracted and the head capsule completely reduced [33,137,138].A larval apomorphy of Tipulomorpha is the ventromedian incision of the head capsule.This condition is only found in members of Tipuloidea and Trichoceridae.A triangular median sinus on the ventral side of the head occurs in Simuliidae [46], but this is clearly a different condition and unique to simuliid larvae.A further autapomorphy of tipuloid larvae is the separation of the dorsomedian fragment from the remaining head capsule by paired dorsolateral incisions.This is related with the general trend to reduce the sclerotized cephalic elements in Tipuloidea.Another derived character of this group is the presence of growth lines on the externolateral plates, as it has also evolved in Deuterophlebiidae, Blephariceridae, and Tanyderidae.In Tanyderidae, a premaxillary suture is present and a possible apomorphy of the group [32].The suture has also evolved in subgroups of Tipuloidea (Tipulidae, Cylindrotomidae, and Limoniinae: [27,46,62]).A long coronal suture is present in the larval groundplan of Diptera, although it is missing or shortened in most groups.The frontoclypeal transverse ridge is missing in all larvae examined, with the exception of Axymyiidae.Based on the absence of the suture in all other dipteran groups and also in Nannochorista [136] and in Siphonaptera [139], it is plausible to assume that the presence is a secondary feature.The clypeus is subdivided in larvae of Axymyiidae.The same condition is only found in larvae of Limoniidae and Mecoptera [136,141].As Axymyiidae is nested within Bibionomorpha and Limoniidae in Tipulomorpha, it is most likely autapomorphic for both groups.The presence of a frontoclypeal suture and the divided clypeus in larvae of Axymyiidae possibly increases the flexibility of the anterior head region.The frons is primarily V-shaped in dipteran larvae [16], but a Ushaped frons has evolved in Chaoboridae and independently in Ceratopogonidae [135].Larvae of Chaoboridae have well-developed adult compound eyes [142].Compound eyes also occur in larvae of Panorpa [141], but in this case, they are true larval structures [143], which evolved secondarily [88].A hypostomal plate (hypostomium) fused with elements of the head capsule is a groundplan feature of the order and common in lower Diptera.A partly divided hypostomium is present in larvae of Dixidae.A similar condition evolved independently in Tipulidae and in Limoniidae [27].In Pediciidae, it is completely divided [46] which is a potential autapomorphy of the family.It is separated from the head capsule by a distinct suture in Ptychopteridae, Bibionidae, and Tanyderidae [32,46,72,75], likely an apomorphic condition which evolved independently in these three families.As discussed by Solinas [144], the condition of the hypostomal plate depends mainly on the diet of the larvae in Mycetophilidae.He assumed that it is strongly developed in species feeding on soft gall issues, moderately in larvae feeding on fibrous plant tissue, and poorly in species lacking sap from the gall walls [144].In the groundplan of Brachycera, a hypostomal bridge is missing, which is arguably correlated with the retraction of the head (see above and [8]).However, this is not the case or only to a lesser degree in tipuloid larvae [27].The hypostomium is equipped with triangular teeth in the groundplan, arguably an autapomorphy of the order.Ancestral dipteran larvae probably lived in a moist or a wet environment (e.g., Deuterophlebiidae, Nymphomyiidae, and Tipuloidea [48,145,146]) where they feed on algae, decaying plant material, or moss.The toothed hypostoma probably helps to remove algae or microorganic material from rocks or other surfaces.Tentorium.A tentorium with anterior, posterior, and dorsal arms and a tentorial bridge is present in the groundplan.However, dorsal arms and the bridge are missing in most groups and in the groundplan of Brachycera, as it is also the case in adults (see above).The tentorium is complete reduced in the larvae of Mycetophilidae.Their head forms a "cutterhead" [147], and they live in and feed on fungus [148].The same occurs in larvae of Axymyiidae, which live in chambers they produce in wood saturated with water.Their diet is probably also soft material, and the tentorium is also reduced [149].A tendency to reduce the larval tentorium is also present in Bibionomorpha, as the anterior arms are missing in most groups (Bibionomorpha excl.Anisopodidae, and Scatopsidae).As in the adults, reductions of tentorial elements are common.Anterior arms are also missing in Simuliidae, Tipulidae, Pediciidae, and Nymphomyiidae [27,29,46].Labrum.The labrum is partly fused with the head capsule in larvae of Axymyiidae, and also in Bibionidae and in Mycetophilidae.This condition could be a transition state between the free labrum of Anisopodidae and the completely fused one in Cecidomyiidae.The labrum is also fused with the head capsule in several other dipteran groups, but without a recognizable phylogenetic pattern.A subdivided labrum is a characteristic feature of Tipulidae and an autapomorphy of the family.A broad larval labrum is probably a dipteran groundplan feature.A conical labrum is ancestral for brachyceran larvae.However, the same condition has evolved in several lower dipteran families such as Nymphomyiidae, Thaumaleidae, Axymyiidae, Anisopodidae, and Psychodidae [29,45].A labrum equipped with a dense field of hairs is a groundplan apomorphy of Diptera (Figure 6B).However, the specific condition in different groups varies strongly, and in some families, a specific arrangement of the labral brush is missing.It is likely used to remove or sweep algae or other small food particles from surfaces.An unusual feature occurring in basal dipteran lineages is the formation of movable premandibles or messores.These structures, which do not occur in other holometabolan groups, form a conspicuous and efficient collecting apparatus in the aquatic larvae of Simuliidae [150,151].Strongly developed labral teeth are present in larvae of Anisopodidae.This apomorphic character has independently evolved in Cylindrotomidae [152], as this structural modification is absent in Trichocera and other members of Tipuloidea [27,45,46,153], and consequently in the groundplan of Tipulomorpha.M. frontoepipharyngalis (M.9) is absent in larvae of Bibionidae.It is also missing in Cecidomyiidae and in some brachycerans (Therevidae and Stratiomyiidae; [46,47]) but is present in the groundplan of the order and in most dipteran larvae examined [e.g., 27, 29, 32, 46, 48, 66, 72-74, 135, 154, 155].The loss obviously occurred several times independently within Bibionomorpha and Brachycera.Antenna.The larval antennae consist of a basal antennomere and several distinctly developed segments in the groundplan.However, it is one-segmented in most groups and in the groundplan of Brachycera.The presence of only one extrinsic muscle is ancestral, and this condition is found in most groups of lower Diptera.One muscle is also present in Nannochoristidae and in Panorpidae, but two in Boreidae [136,156].The loss of the extrinsic antennal muscles occurred several times in Diptera.A phylogenetic pattern is not recognizable.The antennae are vestigial in Axymyiidae, Bibionidae, and Mycetophilidae but present in larvae of Cecidomyiidae [46,47,75].The antenna is distinctly developed in the groundplan of Bibionomorpha, but the group shows a clear tendency toward reduction.In Chaoboridae, Corethrellidae, and Ceratopogonidae [135], the antennal insertion is shifted toward the midline (Figure 6), whereas a lateral insertion belongs to the dipteran groundplan [e.g., 27, 29, 32, 45, 46-48, 65, 72, 75].The antenna insert on the anterior margin of the head capsule in Chaoborus, in front of the compound eyes (Figure 6A).Larvae of Chaoborus capture copepods and water fleas with this unusual apparatus [157].The raptorial antennae are an autapomorphy of Chaoboridae.In Corethrellidae, the antenna is simple and bears two horns on the apex (Figure 6B), and the same condition is found in Anopheles [154].A bifurcate antenna is also present in larvae of Deuterophlebiidae (Figure 3A), but this is likely due to parallel evolution considering the basal position of Deuterophlebiidae.Mandible.Well-developed, undivided, and relatively stout mandibles moving in a horizontal plane are probably part of the larval groundplan of Diptera.A major evolutionary trend in Diptera is the shift of the axis of movement from vertical to oblique to horizontal [e.g., 27,62].The mandibles of several groups of lower Diptera move in a vertical plane, and this applies generally to the hook-shaped mandibles or mouthhooks in Brachycera.It is conceivable that this is linked with the lack of thoracic legs.The more or less hook-shaped mandibles are moved as accessory locomotor organs in several groups of Diptera.The mandible is sickle-shaped and elongated in Pediciidae [46], apparently an autapomorphy of the family.In Tipulidae, the secondary mandibular joint is shifted posterior to the antennal foramen [27,46,61,158], a unique feature and very likely an autapomorphy of this family.A movable lacinia mobilis is probably a synapomorphy of Tipulidae and of Cylindrotomidae, but it also occurs in Chaoboridae and in Nannochoristidae [62,136], obviously as a result of parallel evolution.In Chaoboridae, a small intrinsic extensor muscle is present.That this muscle was not found in any other group of dipteran suggests that this is an autapomophic feature which is possibly linked with the predaceous life style.An anteriorly directed cone on the mesal edge of the mandible is a unique feature of Anisopodidae and an autapomorphy of this family [45].The mandible is subdivided in larvae of this family as it is also the case in Ptychopteridae and in Brachycera [45,46,72].In Ptychopteridae, the mandible is divided by a furrow, whereas the distal and the proximal parts are separated by a weakly sclerotized zone in Anisopodidae and in Brachycera.It cannot be fully excluded that the subdivided mandible is a synapomorphy of Brachycera and of Bibionomorpha.But this interpretation would imply that an undivided mandible evolved secondarily in Bibionomorpha excluding Anisopodidae.A multitoothed comb is present on the apical part of the mandible in larvae of Thaumaleidae.This is also the case in larvae of Deuterophlebiidae, Nymphomyiidae, and some Blephariceridae [16,29,48].This is probably linked with the feeding habits of the larvae.All of them live in cold streams and scrape diatoms, microscopic plant material, and algae from rocks [159][160][161].M. tentoriomandibularis (M.13) is missing in all dipteran larvae examined, and also in Siphonaptera and in Mecoptera excl.Nannochoristidae [136].It is conceivable that the delicate muscle was overlooked in some cases.Maxilla.A more or less complete and free larval maxilla belongs to the groundplan of Diptera.A cardo completely fused with the head capsule (or reduced) has evolved independently in Axymyiidae, Nymphomyiidae, Psychodidae, and some members of Culicomorpha, but it is present as a clearly defined sclerite in the groundplan of the order.In Axymyiidae, it is apparently preserved, even though indistinguishably fused with the stipes.M. tentoriocardinalis (M.17) is distinctly developed in the larvae of this group.Different degrees of fusion of the maxillary endite lobes occur in lower dipteran larvae.They are partly fused in Axymyiidae but still recognizable as separate structures, whereas the fusion is complete in Bibionidae and in Cecidomyiidae [46,47,75].The homology of the maxillary elements is still not entirely clear in larvae of some groups, such as in Mycetophilidae, Corethrellidae, and Thaumaleidae.A dipteran groundplan feature preserved in Deuterophlebiidae is the presence of two-segmented maxillary palps [48].This condition is also maintained in few other groups of lower Diptera (Bibionidae, Chironomidae, and Axymyiidae; [46,75,162]) and also in Therevidae (Brachycera) [46].The reduction of one palpomere has taken place several times independently and it is one-segmented in most groups.The absence of M. craniocardinalis (M.15) is probably ancestral for Diptera, even though one extrinsic maxillary muscle with a cranial origin is present in Exechia and even two in Androprosopa.The homology of these muscles is presently unclear, mainly due to the unclear homology of the corresponding maxillary elements.M. craniocardinalis is also missing in larvae of other groups of Mecopterida [163], and this is possibly an autapomorphy of this lineage [88].An extrinsic maxillary muscle occurring in Siphonaptera is probably not homologous with M. craniocardinalis [136].Intrinsic maxillary muscles (Mm.20/21) are also missing in the groundplan of Diptera.The presence of M. tentoriostipitalis (M.18) is arguably ancestral in Diptera as it is preserved in larvae of Nymphomyiidae.However, it originates on the head capsule due to the loss of the tentorium, and it cannot be fully excluded, that it is in fact M. craniolacinialis (M.19).The maxillary endites are not recognizable as separate structures in larvae of Nymphomyiidae.They are likely fused with the stipites (see [29]).Labium.The labium is distinctly simplified in all groups of Diptera.A separate submentum (as a part of the postmentum) is present in the dipteran groundplan and also in the groundplan of Brachycera.The ancestral condition occurs in Olbiogaster (Anisopodidae) [164] and Psychodidae [16], but the basal labial element is absent in most groups of lower Diptera [e.g., 27,29,45,46,73,74].Labial palps are greatly reduced and appear one-segmented in the groundplan.They are present in Anisopodidae, Blephariceridae, and Tabanidae [45,46,63].Even though they are completely reduced in almost all groups of lower Diptera, they are preserved in the groundplan of Brachycera according to Hennig [8] (Tabanidae; [46]) and also in the groundplan of Cyclorrhapha [165,166].Only one extrinsic labial muscle occurs in dipteran larvae, as it is also the case in adults.M. praementopalpalis (M.34) is probably absent in the groundplan.Pharynx.A pharyngeal filter is present in a number of lower dipteran families.It is absent in Mecoptera and in Siphonaptera [136,139,141], and also in Deuterophlebiidae and in Nymphomyiidae, and is therefore probably not a part of the dipteran groundplan.Its presence is arguably a groundplan apomorphy of Diptera, excluding Deuterophlebiidae and Nymphomyiidae, with parallel secondary loss in different groups such as Tipuloidea, Bibionomorpha (partim), Simuliidae, Thaumaleidae, and the entire Brachycera [16,27,46,47,73,75,135,155].The homology of the filter in different groups is also not entirely clear.It differs considerably among the lower dipteran groups.It is highly specialized and complex in Axymyiidae, whereas it consists only of simple combs in Anopheles (see [154], fig.14).M. tentoriohypopharyngalis (M.42) is probably absent in the groundplan.The homology of a tentoriohypopharyngeal muscle described for Trichocera [167,168] is questionable.The character polarity of the presence or the absence of this muscle is also unclear.Hinton [163] interpreted the loss as a possible synapomorphy of Diptera, Siphonaptera, and Pistillifera.This interpretation is not convincing according to Beutel et al. [136], who postulated the presence in Nannochorista and in Panorpa [141], considering a 'Musculus palpi labialis' as likely homologue of M. tentoriohypopharyngalis (M.42).M. tentoriobuccalis anterior (M.48) and the muscles forming the postcerebral pharyngeal pump (Mm.50-52) are completely missing in brachyceran larvae.The absence of M. tentoriobuccalis anterior is a common feature in Diptera, but as it occurs in several families and also in Mecoptera [136,141] and Siphonaptera [139].This condition is apparently ancestral for the order.The same applies to the muscles of the postcerebral pharyngeal pump.

CONCLUSION
Adults of Diptera are usually short lived, with a life span hardly extending beyond copulating and laying eggs.Feeding is not necessary in many cases, and the mouthparts are largely or completely reduced in different groups.Adults of most groups are quite similar in their life habits, and the head is characterized by similar reductions in many groups.One character complex which shows already far-reaching modifications in the groundplan is the food uptake apparatus.The paired mouthparts are strongly modified with a distinct tendency toward reduction, and the labium is transformed into a device for the uptake of liquid food.Strongly developed cibarial and postcerebral pumping apparatuses, which belong to the groundplan of the order, are also relevant in this functional context.The optimization of the uptake of more or less liquefied substrates is one major evolutionary trend in Diptera, with several cases of parallel evolution.Mandibles are already strongly modified in the groundplan and completely reduced with their muscles in most lineages, a loss which obviously occurred several times independently.The mandibles are usually preserved in blood-sucking species, especially in females which need a blood meal for producing fertile eggs.They are preserved in very few groups of Brachycera (e.g., Tabanidae and Dolichopodidae [98,169]) but are absent in the groundplan of Cyclorrhapha [8].The maxillae, which are already strongly modified in the groundplan, are further simplified within the group.They play a minor role in the food uptake if at all.Transformations of the labium play a major role.The labellae are one of the conspicuous autapomorphies of the order.Pseudotracheae evolved several times within the group.These specialized surface structures create capillary forces and thus facilitate the uptake of liquid food.Conspicuous transformations of the antennae take place within the group, with largely unmodified filiform antennae in the groundplan (e.g., Culicidae), moniliform antennae in some lower dipteran families (e.g., Bibionidae), and strongly shortened and transformed antennae (7 or less antennomeres) in Brachycera, with a characteristic whip-like arista as a common feature in Cyclorrhapha.The functional interpretation is difficult in this case.The antennae and their sensilla play an important role in the identification of suitable food substrates and oviposition sites [e.g., [117][118][119].A characteristic feature found in many groups is the very large size of the compound eyes.This is probably related with the excellent flying abilities and probably also with the necessity to find a mating partner within a relatively short time span, as it is also the case in the short-lived strepsipterans [e.g., 170].As adult dipterans take up liquid food and strong mechanical forces are not created during this process, they do not need a strong reinforcement of the head capsule.This was likely a precondition for the formation of very large compound eyes, which results in extensive zones of mechanical weakness.Another characteristic likely related with the excellent flight performance is the cuticular surface covered with a dense vestiture of microtrichiae on all body parts.As in strepsipterans [e.g., 170], this specific surface sculpture improves the flight performance.Another possible function could be water repellence.Dipteran larvae live mostly in wet environment and are frequently aquatic.Most of them, especially brachyceran larvae, live in the substrate they feed on.In aquatic and free living larvae, the head is fully exposed, whereas larvae living in their substrate show a tendency to retract it into the anterior thorax.This process is accompanied by a more or less farreaching reduction of the sclerotized parts of the head capsule.The movability of the larvae is strongly constrained as thoracic legs are completely missing in all groups.The mouthparts of several larvae are involved in the locomotion, especially in brachyceran groups, and the oblique or vertical plane of movement of the mandibles (mouth hooks in Cyclorrhapha) can be seen in this context.The feeding habits and mouthparts of dipteran larvae are much more diverse than in the adults.The larvae can be grazers, filter feeders, predators, or simply feed on the substrate they live in.They evolved specific adaptations to their feeding habit, such as a toothed hypostoma, mandibular combs, a pharyngeal filter apparatus, or a more or less extensive labral fan.Larval antennae play a very minor role compared to those of the adults.They are greatly or completely reduced in many groups.This is possibly related to the habit of females to deposit the eggs at oviposition sites where suitable food for the larvae is readily available.

palpomere 3
are exposed on the surface.The larval head is characterized by deep ventromedian incisions.Tipuloidea (Pedicia, Limonia, Cylindrotoma, and Tipula).The stipites are partly fused in the members of Tipuloidea examined.In larvae the head is partly divided by paired dorsolateral incisions.Growth lines are present on the extensive externolateral plates.

Table 1 .
List of adult Taxa examined.

Table 2 .
List of larval taxa examined.