added sending thread