Consolidated allwords to one line removed useless variable