impl adhoc task queuing