add the method to manage the message pool