Do if not defined, displayMessage and return to avoid the indentation.