Tentatively implemented parseArray