Actually use the newTransaction function