changed assignment of array list to array for analog sensors