Simplify works

Crashes at chomsky implementation