new layout for transactions and duplicate-safe