prints message