Worked on better transaction example