working support for arrays