Refactor DisplayMessage