adding transactions work