add transaction analysis