sending all messages in one go