Touches up extractFirstWord method