add structure for starting grammar work