Hmmm what do you mean? Change mon_secret to return nil if it didn't find anything, instead of a blank string? That does make more semantic sense.