As for tool use, construction behaviour may be mostly innate. Yet it can be sophisticated, and the fact that fish can make judicious repairs to their creation suggests intelligence. Construction methods in fishes can be divided into three categories: excavations, pile-ups, and gluing. Excavations may be simple depressions dug up in the substrate, such as the nests of
bowfin,
smallmouth bass, and
Pacific salmon, but it can also consist of fairly large burrows used for shelter and for nesting. Burrowing species include the mudskippers, the
red band-fish (
Cepola rubescens) (burrows up to 1 m deep, often with a side branch), the
yellowhead jawfish (
Opistognathus aurifrons) (chambers up to 22 cm deep, lined with coral fragments to solidify it), the
convict blenny (
Pholidichthys leucotaenia), whose burrow is a maze of tunnels and chambers thought to be as much as 6 m long, and the Nicaragua cichlid (
Hypsophrys nicaraguensis), who drills a tunnel by spinning inside of it. In the case of the mudskippers, the burrows are shaped like a J and can be as much as 2 m deep. Two species, the
giant mudskipper (
Periophthalmodon schlosseri) and the walking goby (
Scartelaos histophorus), build a special chamber at the bottom of their burrows into which they carry mouthfuls of air. Once released the air accumulates at the top of the chamber and forms a reserve from which the fish can breathe – like all amphibious fishes, mudskippers are good air breathers. If researchers experimentally extract air from the special chambers, the fish diligently replenish it. The significance of this behaviour stems from the facts that at high tide, when water covers the mudflats, the fish stay in their burrow to avoid predators, and water inside the confined burrow is often poorly oxygenated. At such times these air-breathing fishes can tap into the air reserve of their special chambers. Mounds are easy to build, but can be quite extensive. In North American streams, the male
cutlip minnow Exoglossum maxillingua, long, assembles mounds that are high, in diameter, made up of more than 300 pebbles 13–19 mm in diameter (a quarter to half an inch). The fish carry these pebbles one by one in their mouths, sometimes stealing some from the mounds of other males. The females deposit their eggs on the upstream slope of the mounds, and the males cover these eggs with more pebbles. Males of the
hornyhead chub Nocomis biguttatus, long, and of the
river chub Nocomis micropogon, long, also build mounds during the reproductive season. They start by clearing a slight depression in the substrate, which they overfill with up to 10,000 pebbles until the mounds are long (in the direction of the water current), wide, and high. Females lay their eggs among those pebbles. The stone accumulation is free of sand and it exposes the eggs to a good water current that supplies oxygen. Males of many mouthbrooding cichlid species in
Lake Malawi and
Lake Tanganyika build sand cones that are flattened or crater-shaped at the top. Some of these mounds can be 3 m in diameter and 40 cm high. The mounds serve to impress females or to allow species recognition during courtship. Male pufferfish,
Torquigener sp., also build sand mounds to attract females. The mounds, up to 2 m in diameter, are intricate with radiating ridges and valleys. Several species build up mounds of coral pieces either to protect the entrance to their burrows, as in
tilefishes and gobies of the genus Valenciennea, or to protect the patch of sand in which they will bury themselves for the night, as in the Jordan's tuskfish
Choerodon jordani and the
rockmover wrasse Novaculichthys taeniourus. Male sticklebacks are well known for their habit of building an enclosed nest made of pieces of vegetation glued together with secretions from their kidneys. Some of them adorn the entrance of the nest with unusually colored algae or even shiny tinfoil experimentally introduced in the environment. Foam nests, made up of air bubbles glued together with mucus from the mouth, are also well known in
gouramis and
armoured catfish. ==Social intelligence==