setting up for grammar refactoring