removed parallization in tokenization