Added function to draw arcs.