adding initial array indexing parsing