fixed serialization!!!
add loop for many sends