added index -> position mapping inside transaction_database::fetch()