Worked on the new thread interface