updated chord example by parvez