add transaction example