updates to chords.c