expansion for arrays