message and layout