Printing message to the console