adding new  grammar and pointers to new types