defining a grammar, added to specs