Working on batching messages