modified definitions for linkages and polygonal linkages