Add transaction method