added transactions but broke app