adding tsum for use with chord example