added the array grammar