functioning optional params for chord. Needs work on pretty printing.