completion of array to hold variables for calculation.