re-factor #11, transaction parsing