eliminated unnecessary reference for arrays