update to chords.c