minor refactoring: changing transaction_date back to date