layout received messages