Lampreys and hagfish do not have gill slits as such. Instead, the gills are contained in spherical pouches, with a circular opening to the outside. Like the gill slits of higher fish, each pouch contains two gills. In some cases, the openings may be fused together, effectively forming an operculum. Lampreys have seven pairs of pouches, while hagfishes may have six to fourteen, depending on the species. In the hagfish, the pouches connect with the pharynx internally and a separate tube which has no respiratory tissue (the pharyngocutaneous duct) develops beneath the pharynx proper, expelling ingested debris by closing a valve at its anterior end. Lungfish larvae also have external gills, as does the primitive ray-finned fish "Polypterus", though the latter has a structure different from amphibians.