works for 2 outputs now and waits for completed transmission