added array processing step