working with strings. console log.  Behaves slightly different
pattern matching