add up transactions working