Fixed how txns are defined