make links of the openings.