before factoring out drawTicks
factoring out drawTicks
created chordPath