added datastructures needed for preprocessing in transaction functions