add part which search a longest word in the line.