added transaction model
added transaction