added threads steps