04: grammar implemented