removed sending loop