added parsing into arrays and indexed access