added minigrammarparser