kinda working tx

doesn't iterate correctly but sends data