chord constructor