added chordMode API