better formatting for the messages output