Adding transaction analysis