add transaction sample