add_message method