add codes to calculate SI across array -- untested