Working out switch links.