added method sum of transaction as payer and payee