add temp output array with real output