Moved the progress instruction to addThread and implemented it