removed ambiguity from the grammar