so the error is not with the array