added transaction prototype