Can you fix the style here.  `function(str) ...`