added transaction constructor