in a circle, all ends are connected