implemented array parser