process-grammar working and tested