added a reversed flag to transaction creation