adding custom msg to layout base