Handling multiple messages