Major modification of lang tool