add the grammar