removed logic to assign transaction since it isn't needed