updated example
updated transaction parsing