some changes in transaction creation