Multi threading per language type.Some modifications I cant really remember