Adds transaction