added n-dimension array parsing