messages & layout