added threaded queue example