Removed an unsafe reference to pArrays[0]