got transactions working