Expanded the chord functionality