Changed the grammar to accept variable changes