* defined global method in handler to deliver_messages