wrong order for grammar.ls - needs a better test