Multiple threaded functionality inserted.
No sum at end yet.