work on circular arcs and doctests