Hopefully this works for arrays!