upgraded and refactored transaction history to statement