console logging the message