added a comment for when testing more threads
moved header for data out of run loop