add temp result to the end of the final result