step 4 working, task queue functions