Add code to display gotten messages