reorganizing grammar