Use of arrays on device