Added do for arrays