Smart arrays