fixed main grammar -- it not works