FOrmatting values when creating transaction
Refactoring exportTransactions