worked on initial grammar