added transaction model