adding transaction model stuff