working for n devices with lags
added 3 data-senders