makeSource uses setAnchor on endpoints now instead of assigning it directly