added array type to grammar