change the method of adding msg.