starting function grammar