discover enclaves and exclaves