tried to make queuing threaded. failed.